/*
 * Powered By [Frank-Liz-Lee]
 * Copyright(C) 2012-2016 Liz Company
 * All rights reserved.
 */
package com.linln.modules.system.domain;

import java.io.Serializable;
import java.util.Date;

/**
 *
 */
public class File implements Serializable {

    private static final long serialVersionUID = 1L;

    /* 主键ID */
    private Long id;

    /* 文件名 */
    private String name;

    /* 文件路径 */
    private String path;

    /* MIME文件类型 */
    private String mime;

    /* 文件大小 */
    private Long size;

    /* MD5值 */
    private String md5;

    /* SHA1值 */
    private String sha1;

    /* 上传者 */
    private Long createBy;

    /* 创建时间 */
    private java.sql.Timestamp createDate;


    /* get 主键ID */
    public Long getId() {
        return id;
    }

    /* set 主键ID */
    public void setId(Long id) {
        this.id = id;
    }
    /* get 文件名 */
    public String getName() {
        return name;
    }

    /* set 文件名 */
    public void setName(String name) {
        this.name = name;
    }
    /* get 文件路径 */
    public String getPath() {
        return path;
    }

    /* set 文件路径 */
    public void setPath(String path) {
        this.path = path;
    }
    /* get MIME文件类型 */
    public String getMime() {
        return mime;
    }

    /* set MIME文件类型 */
    public void setMime(String mime) {
        this.mime = mime;
    }
    /* get 文件大小 */
    public Long getSize() {
        return size;
    }

    /* set 文件大小 */
    public void setSize(Long size) {
        this.size = size;
    }
    /* get MD5值 */
    public String getMd5() {
        return md5;
    }

    /* set MD5值 */
    public void setMd5(String md5) {
        this.md5 = md5;
    }
    /* get SHA1值 */
    public String getSha1() {
        return sha1;
    }

    /* set SHA1值 */
    public void setSha1(String sha1) {
        this.sha1 = sha1;
    }
    /* get 上传者 */
    public Long getCreateBy() {
        return createBy;
    }

    /* set 上传者 */
    public void setCreateBy(Long createBy) {
        this.createBy = createBy;
    }
    /* get 创建时间 */
    public java.sql.Timestamp getCreateDate() {
        return createDate;
    }

    /* set 创建时间 */
    public void setCreateDate(java.sql.Timestamp createDate) {
        this.createDate = createDate;
    }

    public String toString() {
        return "File {" +
                " , id = " + id +
                " , name = " + name +
                " , path = " + path +
                " , mime = " + mime +
                " , size = " + size +
                " , md5 = " + md5 +
                " , sha1 = " + sha1 +
                " , createBy = " + createBy +
                " , createDate = " + createDate +
            "}";
        }
}